package com.gg.hj.controller;

import com.gg.common.pojo.DFile;
import com.gg.hj.search.D_FileSearchView;
import com.gg.hj.service.D_FileService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;


@Controller
public class D_FileController {
    @Resource
    private D_FileService fileService;

    // TODO 查询制定安全库存配置单
    @ResponseBody
    @RequestMapping("/queryProductConfigureAll.action")
    public D_FileSearchView<DFile> queryProductConfigureAll(@RequestBody D_FileSearchView<DFile> pageView) throws Exception {
        return this.fileService.queryProductConfigureAllService(pageView);
    }
}
